home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Games of Daze
/
Infomagic - Games of Daze (Summer 1995) (Disc 1 of 2).iso
/
gnuish
/
gmake371
/
msdos-t1.sed
< prev
next >
Wrap
Text File
|
1994-05-23
|
1KB
|
28 lines
# -----------------------------------------------------------------------------
# Script for `sed' to convert config.h-in into config.h for Borland Turbo C
# -----------------------------------------------------------------------------
1,1s/config\.h\.in/config.h/
1,1s/from configure.in by autoheader./from config.h-in by configure.bat/
2i\
\
#ifdef __MSDOS__\
#define MSDOS\
#define HAVE_GLOB_H\
#define NO_ARCHIVES\
#endif
/^#undef[ \t]*C_ALLOCA[ \t]*$/s/undef/define/
/^#undef[ \t]*HAVE_STRCOLL[ \t]*$/s/undef/define/
/^#undef[ \t]*HAVE_DUP2[ \t]*$/s/undef/define/
/^#undef[ \t]*HAVE_GETCWD[ \t]*$/s/undef/define/
/^#undef[ \t]*HAVE_FCNTL_H[ \t]*$/s/undef/define/
/^#undef[ \t]*HAVE_LIMITS_H[ \t]*$/s/undef/define/
/^#undef[ \t]*HAVE_STRING_H[ \t]*$/s/undef/define/
/^#undef[ \t]*HAVE_SYS_TIMEB_H[ \t]*$/s/undef/define/
/^#undef[ \t]*VOID_CLOSEDIR[ \t]*$/s/undef/define/
/^#undef[ \t]*pid_t[ \t]*$/s/undef \(.*\)/define \1 int/
/^#undef[ \t]*uid_t[ \t]*$/s/undef \(.*\)/define \1 int/
/^#undef[ \t]*gid_t[ \t]*$/s/undef \(.*\)/define \1 int/
/^#undef[ \t]*RETSIGTYPE[ \t]*$/s/undef \(.*\)/define \1 void/
/^#undef[ \t]*STACKDIRECTION[ \t]*$/s/undef \(.*\)/define \1 -1/
/^#undef[ \t]*SCCS_GET[ \t]*$/s/undef \(.*\)/define \1 "sccs_get"/